package myJs.admin

import myJs.admin.changePassword.ChangePassword
import myJs.admin.detailInfo.DetailInfo
import myJs.admin.downloadRecord.DownloadRecord
import myJs.admin.limitManage.LimitManage
import myJs.admin.changeEmail.ChangeEmail
import myJs.user.home.Home
import myJs.user.missionManage.MissionManage
import shared.pojo.Role

/**
 * Created by yz on 5/5/2022
 */
object Admin {

  val prefix = Role.Admin.entryName
  val pages = List(LimitManage, DownloadRecord, DetailInfo, ChangePassword, ChangeEmail)

  val registerPages = pages.filterNot { x =>
    List(DownloadRecord).contains(x)
  }

  val leftPages = pages.filterNot { x =>
    List(ChangePassword, ChangeEmail).contains(x)
  }

  val cp = AdminCp()

  val limitManage = LimitManage
  val detailInfo = DetailInfo
  val changeEmail = ChangeEmail


}
